/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.femass.view;

import com.femass.relatorios.GerarRelatorios;
import com.femass.model.Evento;
import java.sql.SQLException;
import javax.faces.bean.ManagedBean;
import net.sf.jasperreports.engine.JRException;

/**
 *
 * @author daureo
 */
@ManagedBean
public class RelatoriosBean {
    private GerarRelatorios gerarRelatorios = new GerarRelatorios();
    
    public String artigosPorEvento(Evento evento) throws JRException, SQLException{
        return this.gerarRelatorios.artigosPorEvento(evento);
        
    }
}
